import 'package:get/get.dart';

import '../modules/books/bindings/books_binding.dart';
import '../modules/books/bindings/edit_books_binding.dart';
import '../modules/books/views/books_view.dart';
import '../modules/books/views/edit_books_view.dart';
import '../modules/home/bindings/edit_help_text_binding.dart';
import '../modules/home/views/edit_help_text_view.dart';
import '../modules/home/bindings/home_binding.dart';
import '../modules/home/views/home_view.dart';
import '../modules/photo/bindings/photo_binding.dart';
import '../modules/photo/views/photo_view.dart';
import '../modules/qrscan/bindings/qr_scan_binding.dart';
import '../modules/qrscan/views/qr_scan_view.dart';
import '../modules/words/bindings/edit_words_binding.dart';
import '../modules/words/bindings/learn_words_binding.dart';
import '../modules/words/bindings/words_binding.dart';
import '../modules/words/views/edit_words_view.dart';
import '../modules/words/views/learn_words_view.dart';
import '../modules/words/views/words_view.dart';

part 'app_routes.dart';

class AppPages {
  AppPages._();

  static const INITIAL = Routes.HOME;

  static final routes = [
    GetPage(
      name: _Paths.QR_SCAN,
      page: () => QrScanView(),
      binding: QrScanBinding(),
    ),
    GetPage(
      name: _Paths.PHOTO,
      page: () => PhotoView(),
      binding: PhotoBinding(),
    ),
    GetPage(
      name: _Paths.HOME,
      page: () => HomeView(),
      binding: HomeBinding(),
    ),
    GetPage(
      name: _Paths.BOOKS,
      page: () => BooksView(),
      binding: BooksBinding(),
    ),
    GetPage(
      name: _Paths.WORDS,
      page: () => WordsView(),
      binding: WordsBinding(),
    ),
    GetPage(
      name: _Paths.EDIT_BOOKS,
      page: () => EditBooksView(),
      binding: EditBooksBinding(),
    ),
    GetPage(
      name: _Paths.EDIT_WORDS,
      page: () => EditWordsView(),
      binding: EditWordsBinding(),
    ),
    GetPage(
      name: _Paths.LEARN_WORDS,
      page: () => LearnWordsView(),
      binding: LearnWordsBinding(),
    ),
    GetPage(
      name: _Paths.EDIT_HELP_TEXT,
      page: () => EditHelpTextView(),
      binding: EditHelpTextBinding(),
    ),
  ];
}
